
<table>
  <tr>
    <th> Price </th>
    <td> ${{car.price}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <th> Year </th>
    <td> {{car.year}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <th> Make </th>
    <td> {{car.make}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <th> Model </th>
    <td> {{car.model}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <th> Mileage </th>
    <td> {{car.mileage}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <th> Vehicle ID Number </th>
    <td> {{car.vinnumber}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <th> Color </th>
    <td> {{car.color}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  <tr>
    <th valign="top"> Description </th>
    <td> {{car.description}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
  {% if car.pic1 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=1"></td>
  </tr>
  {% endif %}
  {% if car.pic2 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=2"></td>
  </tr>
  {% endif %}
  {% if car.pic3 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=3"></td>
  </tr>
  {% endif %}
  {% if car.pic4 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=4"></td>
  </tr>
  {% endif %}
  {% if car.pic5 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=5"></td>
  </tr>
  {% endif %}
  {% if car.pic6 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=6"></td>
  </tr>
  {% endif %}
  {% if car.pic7 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=7"></td>
  </tr>
  {% endif %}
  {% if car.pic8 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=8"></td>
  </tr>
  {% endif %}
  {% if car.pic9 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=9"></td>
  </tr>
  {% endif %}
  {% if car.pic10 %}
  <tr>
  	<td>&nbsp;</td>
	<td><img src="/img?carkey={{car.key}}&whichpic=10"></td>
  </tr>
  {% endif %}
</table>

<br />
<br />
<h3>If you are interested in buying this car, please fill out the information below and we will contact you within 48 hours.</h3>

<form method="post" action="/contact_to_buy">

<input name="subject" type="hidden" value="Someone would like to buy {{car.year}} {{car.make}} {{car.model}} Mileage: {{car.mileage}}" />

<input name="car_url" type="hidden" value="http://www.usadubaicarsales.com/car_details?page=car_details&carkey={{car.key}}" />

<table>
	<tr>
		<th>
			Your Name*: 
		</th>
		<td>
			<input name="yourname" />
		</td>
	</tr>
	<tr>
		<th>
			Email*: 
		</th>
		<td>
			<input name="email"/>
		</td>
	</tr>
	<tr>
		<th>
			Phone number: 
		</th>
		<td>
			<input name="phone"/>
		</td>
	</tr>
	<tr>
		<th>
			Other requests: 
		</th>
		<td>
			<textarea name="other_requests" cols="50" rows="20"></textarea>
		</td>
	</tr>
</table>
<br/>
<br/>
<input type="submit" value="submit" />

</form>
